﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.Entities.BPM_Process
{
    /// <summary>
    /// 流程信息
    /// </summary>
    public class Processes
    {
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public Guid ProcessId { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 表单编码
        /// </summary>
        public string FormCode { get; set; }

        /// <summary>
        /// 业务类型id
        /// </summary>
        public Guid BusinessTypeId { get; set; }

        /// <summary>
        /// 冗余字段（业务类型名称）
        /// </summary>
        public string BusinessTypeName { get; set; }

        /// <summary>
        /// 短名称
        /// </summary>
        public string ShortName { get; set; }

        /// <summary>
        /// 业态
        /// </summary>
        public string Domain { get; set; }

        /// <summary>
        /// 组织级别冗余
        /// </summary>
        public string OrgLevelCode { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public int InUse { get; set; }

        /// <summary>
        /// BTID
        /// </summary>
        public string BTID { get; set; }

        /// <summary>
        /// 流程来源
        /// </summary>
        public string Source { get; set; }

        /// <summary>
        /// 当前版本冗余
        /// </summary>
        public string CurrentVersion { get; set; }

        /// <summary>
        /// 流程类型
        /// </summary>
        public int Type { get; set; }

        /// <summary>
        /// 添加人
        /// </summary>
        public Guid AddUserId { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime AddTime { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        public Guid? UpdateUserId { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 是否可编辑
        /// </summary>
        public int Editable { get; set; }
    }

}
